{"ast":null,"code":"var _jsxFileName = \"/data/messenger.client/src/components/UserProfile/index.tsx\";\nimport React from \"react\";\nimport './UserProfile.scss';\nimport { Avatar, UserStatus } from \"../index\";\nimport { getUserName } from \"../../utils/User\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst UserProfile = props => {\n  return /*#__PURE__*/_jsxDEV(\"div\", {\n    className: \"profile\",\n    children: /*#__PURE__*/_jsxDEV(\"div\", {\n      className: \"profile__header\",\n      children: [/*#__PURE__*/_jsxDEV(Avatar, {\n        contentList: props.profile.content,\n        alt: getUserName(props.profile),\n        stringForFirstCharacter: getUserName(props.profile),\n        stringForGenerateColor: props.profile.id\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 12,\n        columnNumber: 17\n      }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n        className: \"profile__header--infoName\",\n        children: [/*#__PURE__*/_jsxDEV(\"p\", {\n          children: [\"\\u041F\\u043E\\u043B\\u044C\\u0437\\u043E\\u0432\\u0430\\u0442\\u0435\\u043B\\u044C:\", /*#__PURE__*/_jsxDEV(\"span\", {\n            children: getUserName(props.profile)\n          }, void 0, false, {\n            fileName: _jsxFileName,\n            lineNumber: 20,\n            columnNumber: 25\n          }, this)]\n        }, void 0, true, {\n          fileName: _jsxFileName,\n          lineNumber: 19,\n          columnNumber: 21\n        }, this), /*#__PURE__*/_jsxDEV(UserStatus, {\n          status: true\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 22,\n          columnNumber: 21\n        }, this)]\n      }, void 0, true, {\n        fileName: _jsxFileName,\n        lineNumber: 18,\n        columnNumber: 17\n      }, this)]\n    }, void 0, true, {\n      fileName: _jsxFileName,\n      lineNumber: 11,\n      columnNumber: 13\n    }, this)\n  }, void 0, false, {\n    fileName: _jsxFileName,\n    lineNumber: 10,\n    columnNumber: 9\n  }, this);\n};\n_c = UserProfile;\nexport default UserProfile;\nvar _c;\n$RefreshReg$(_c, \"UserProfile\");","map":{"version":3,"names":["React","Avatar","UserStatus","getUserName","UserProfile","props","profile","content","id"],"sources":["/data/messenger.client/src/components/UserProfile/index.tsx"],"sourcesContent":["import React from \"react\";\nimport {UserProfileProps} from \"../../models/props/UserProfileProps\";\nimport './UserProfile.scss';\nimport {Avatar, UserStatus} from \"../index\";\nimport {getUserName} from \"../../utils/User\";\n\nconst UserProfile: React.FC<UserProfileProps> = (props) => {\n\n    return (\n        <div className=\"profile\">\n            <div className=\"profile__header\">\n                <Avatar\n                    contentList={props.profile.content}\n                    alt={getUserName(props.profile)}\n                    stringForFirstCharacter={getUserName(props.profile)}\n                    stringForGenerateColor={props.profile.id}\n                />\n                <div className=\"profile__header--infoName\">\n                    <p>Пользователь:\n                        <span>{getUserName(props.profile)}</span>\n                    </p>\n                    <UserStatus status={true} />\n                </div>\n            </div>\n        </div>\n    );\n}\n\nexport default UserProfile;"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAO,oBAAoB;AAC3B,SAAQC,MAAM,EAAEC,UAAU,QAAO,UAAU;AAC3C,SAAQC,WAAW,QAAO,kBAAkB;AAAC;AAE7C,MAAMC,WAAuC,GAAIC,KAAK,IAAK;EAEvD,oBACI;IAAK,SAAS,EAAC,SAAS;IAAA,uBACpB;MAAK,SAAS,EAAC,iBAAiB;MAAA,wBAC5B,QAAC,MAAM;QACH,WAAW,EAAEA,KAAK,CAACC,OAAO,CAACC,OAAQ;QACnC,GAAG,EAAEJ,WAAW,CAACE,KAAK,CAACC,OAAO,CAAE;QAChC,uBAAuB,EAAEH,WAAW,CAACE,KAAK,CAACC,OAAO,CAAE;QACpD,sBAAsB,EAAED,KAAK,CAACC,OAAO,CAACE;MAAG;QAAA;QAAA;QAAA;MAAA,QAC3C,eACF;QAAK,SAAS,EAAC,2BAA2B;QAAA,wBACtC;UAAA,qGACI;YAAA,UAAOL,WAAW,CAACE,KAAK,CAACC,OAAO;UAAC;YAAA;YAAA;YAAA;UAAA,QAAQ;QAAA;UAAA;UAAA;UAAA;QAAA,QACzC,eACJ,QAAC,UAAU;UAAC,MAAM,EAAE;QAAK;UAAA;UAAA;UAAA;QAAA,QAAG;MAAA;QAAA;QAAA;QAAA;MAAA,QAC1B;IAAA;MAAA;MAAA;MAAA;IAAA;EACJ;IAAA;IAAA;IAAA;EAAA,QACJ;AAEd,CAAC;AAAA,KApBKF,WAAuC;AAsB7C,eAAeA,WAAW;AAAC;AAAA"},"metadata":{},"sourceType":"module"}